package com.yxym.extend_.improve;

public class ExtendsDetail {
    public static void main(String[] args) {
        System.out.println("第一个创建对象===");
        Sub sub = new Sub();//创建子类对象Sub
        System.out.println("第二个创建对象====");
        Sub sub2 = new Sub("jack");
        System.out.println("第三个创建对象====");
        Sub sub3 = new Sub("m",20);
        sub.say();
        sub.getTest400();
    }
}
